<?xml version="1.0" encoding="utf-8"?>
<WITD application="Work item type editor" version="1.0">
  <WORKITEMTYPE name="Change Request">
    <DESCRIPTION>Includes information to track changes through the Team Development for Sitecore life cycle</DESCRIPTION>
    <FIELDS>
      <FIELD type="Integer" name="Id" refname="System.Id" />
      <FIELD type="String" name="Title" refname="System.Title">
        <HELPTEXT>Short description of the change request used to differentiate it in a list or report</HELPTEXT>
        <REQUIRED />
      </FIELD>
      <FIELD type="String" name="Assigned To" refname="System.AssignedTo">
        <VALIDUSER />
      </FIELD>
      <FIELD type="History" name="History" refname="System.History">
        <HELPTEXT>Discussion thread and other historical information</HELPTEXT>
      </FIELD>
      <FIELD type="TreePath" name="Area Path" refname="System.AreaPath">
        <HELPTEXT>The area of the product with which this change request is associated</HELPTEXT>
      </FIELD>
      <FIELD type="TreePath" name="Iteration Path" refname="System.IterationPath">
        <HELPTEXT>The iteration of the product with which this change request is associated</HELPTEXT>
      </FIELD>
      <FIELD type="String" name="State" refname="System.State">
        <HELPTEXT>The workflow state of the change request</HELPTEXT>
      </FIELD>
      <FIELD type="String" name="Reason" refname="System.Reason">
        <HELPTEXT>The reason why the change request is in the current state</HELPTEXT>
      </FIELD>
      <FIELD type="DateTime" name="Changed Date" refname="System.ChangedDate" />
      <FIELD type="String" name="Changed By" refname="System.ChangedBy">
        <VALIDUSER />
      </FIELD>
      <FIELD type="DateTime" name="Created Date" refname="System.CreatedDate" />
      <FIELD type="String" name="Created By" refname="System.CreatedBy" />
      <FIELD type="PlainText" name="Description" refname="System.Description" />
      <FIELD type="DateTime" name="State Change Date" refname="Microsoft.VSTS.Common.StateChangeDate">
        <WHENCHANGED field="System.State">
          <SERVERDEFAULT from="clock" />
        </WHENCHANGED>
        <WHENNOTCHANGED field="System.State">
          <READONLY />
        </WHENNOTCHANGED>
      </FIELD>
      <FIELD reportable="dimension" type="DateTime" name="Activated Date" refname="Microsoft.VSTS.Common.ActivatedDate">
        <WHENNOTCHANGED field="System.State">
          <READONLY />
        </WHENNOTCHANGED>
      </FIELD>
      <FIELD reportable="dimension" type="String" name="Activated By" refname="Microsoft.VSTS.Common.ActivatedBy">
        <WHENNOTCHANGED field="System.State">
          <READONLY />
        </WHENNOTCHANGED>
      </FIELD>
      <FIELD reportable="dimension" type="DateTime" name="Resolved Date" refname="Microsoft.VSTS.Common.ResolvedDate">
        <WHENNOTCHANGED field="System.State">
          <READONLY />
        </WHENNOTCHANGED>
      </FIELD>
      <FIELD reportable="dimension" type="String" name="Resolved By" refname="Microsoft.VSTS.Common.ResolvedBy">
        <WHENNOTCHANGED field="System.State">
          <READONLY />
        </WHENNOTCHANGED>
      </FIELD>
      <FIELD reportable="dimension" type="DateTime" name="Closed Date" refname="Microsoft.VSTS.Common.ClosedDate">
        <WHENNOTCHANGED field="System.State">
          <READONLY />
        </WHENNOTCHANGED>
      </FIELD>
      <FIELD reportable="dimension" type="String" name="Closed By" refname="Microsoft.VSTS.Common.ClosedBy">
        <WHENNOTCHANGED field="System.State">
          <READONLY />
        </WHENNOTCHANGED>
      </FIELD>
      <FIELD reportable="dimension" type="Integer" name="Priority" refname="Microsoft.VSTS.Common.Priority">
        <HELPTEXT>Priority for incorporating the change request, based on business goals</HELPTEXT>
        <REQUIRED />
        <ALLOWEDVALUES>
          <LISTITEM value="1" />
          <LISTITEM value="2" />
          <LISTITEM value="3" />
        </ALLOWEDVALUES>
        <DEFAULT from="value" value="3" />
      </FIELD>
      <FIELD reportable="dimension" type="String" name="Triage" refname="Microsoft.VSTS.Common.Triage">
        <HELPTEXT>Status of triaging the change request</HELPTEXT>
        <REQUIRED />
        <ALLOWEDVALUES>
          <LISTITEM value="Pending" />
          <LISTITEM value="More Info" />
          <LISTITEM value="Info Recv" />
          <LISTITEM value="Triaged" />
        </ALLOWEDVALUES>
        <DEFAULT from="value" value="Pending" />
      </FIELD>
      <FIELD reportable="dimension" type="String" name="Integration Build" refname="Microsoft.VSTS.Build.IntegrationBuild">
        <HELPTEXT>The build in which the change request was completed</HELPTEXT>
        <SUGGESTEDVALUES>
          <LISTITEM value="None" />
        </SUGGESTEDVALUES>
      </FIELD>
      <FIELD reportable="measure" type="Double" name="Remaining Work" refname="Microsoft.VSTS.Scheduling.RemainingWork">
        <HELPTEXT>An estimate of the number of hours remaining to complete the change request</HELPTEXT>
      </FIELD>
      <FIELD reportable="measure" type="Double" name="Completed Work" refname="Microsoft.VSTS.Scheduling.CompletedWork">
        <HELPTEXT>The number of hours that have been expended for this change request</HELPTEXT>
      </FIELD>
      <FIELD reportable="measure" type="Double" name="Baseline Work" refname="Microsoft.VSTS.Scheduling.BaselineWork">
        <HELPTEXT>The number of hours of work from the baseline plan</HELPTEXT>
      </FIELD>
      <FIELD reportable="dimension" type="String" name="Blocked" refname="Microsoft.VSTS.CMMI.Blocked">
        <ALLOWEDVALUES>
          <LISTITEM value="Yes" />
          <LISTITEM value="No" />
        </ALLOWEDVALUES>
        <DEFAULT from="value" value="No" />
      </FIELD>
      <FIELD type="HTML" name="Justification" refname="Microsoft.VSTS.CMMI.Justification" />
      <FIELD type="HTML" name="Impact on Architecture" refname="Microsoft.VSTS.CMMI.ImpactOnArchitecture" />
      <FIELD type="HTML" name="Impact on User Experience" refname="Microsoft.VSTS.CMMI.ImpactOnUserExperience" />
      <FIELD type="HTML" name="Impact on Test" refname="Microsoft.VSTS.CMMI.ImpactOnTest" />
      <FIELD type="HTML" name="Impact on Development" refname="Microsoft.VSTS.CMMI.ImpactOnDevelopment" />
      <FIELD type="HTML" name="Impact on Technical Publications" refname="Microsoft.VSTS.CMMI.ImpactOnTechnicalPublications" />
      <FIELD type="Double" name="Estimate" refname="Microsoft.VSTS.CMMI.Estimate">
        <HELPTEXT>The estimate for the amount of work (in person hours)</HELPTEXT>
      </FIELD>
    </FIELDS>
    <WORKFLOW>
      <STATES>
        <STATE value="Proposed">
          <FIELDS>
            <FIELD refname="Microsoft.VSTS.Common.ResolvedDate">
              <EMPTY />
            </FIELD>
            <FIELD refname="Microsoft.VSTS.Common.ResolvedBy">
              <EMPTY />
            </FIELD>
            <FIELD refname="Microsoft.VSTS.Common.ClosedDate">
              <EMPTY />
            </FIELD>
            <FIELD refname="Microsoft.VSTS.Common.ClosedBy">
              <EMPTY />
            </FIELD>
            <FIELD refname="Microsoft.VSTS.Common.ActivatedDate">
              <EMPTY />
            </FIELD>
            <FIELD refname="Microsoft.VSTS.Common.ActivatedBy">
              <EMPTY />
            </FIELD>
          </FIELDS>
        </STATE>
        <STATE value="Active">
          <FIELDS>
            <FIELD refname="Microsoft.VSTS.Common.ResolvedDate">
              <EMPTY />
            </FIELD>
            <FIELD refname="Microsoft.VSTS.Common.ResolvedBy">
              <EMPTY />
            </FIELD>
            <FIELD refname="Microsoft.VSTS.Common.ClosedDate">
              <EMPTY />
            </FIELD>
            <FIELD refname="Microsoft.VSTS.Common.ClosedBy">
              <EMPTY />
            </FIELD>
            <FIELD refname="Microsoft.VSTS.Common.ActivatedDate">
              <REQUIRED />
            </FIELD>
            <FIELD refname="Microsoft.VSTS.Common.ActivatedBy">
              <REQUIRED />
            </FIELD>
            <FIELD refname="System.AssignedTo">
              <REQUIRED />
            </FIELD>
          </FIELDS>
        </STATE>
        <STATE value="Resolved">
          <FIELDS>
            <FIELD refname="Microsoft.VSTS.Common.ClosedDate">
              <EMPTY />
            </FIELD>
            <FIELD refname="Microsoft.VSTS.Common.ClosedBy">
              <EMPTY />
            </FIELD>
            <FIELD refname="Microsoft.VSTS.Common.ResolvedDate">
              <REQUIRED />
            </FIELD>
            <FIELD refname="Microsoft.VSTS.Common.ResolvedBy">
              <REQUIRED />
            </FIELD>
            <FIELD refname="System.AssignedTo">
              <REQUIRED />
            </FIELD>
          </FIELDS>
        </STATE>
        <STATE value="Closed">
          <FIELDS>
            <FIELD refname="Microsoft.VSTS.Common.ClosedBy">
              <REQUIRED />
            </FIELD>
            <FIELD refname="Microsoft.VSTS.Common.ClosedDate">
              <REQUIRED />
            </FIELD>
            <FIELD refname="System.AssignedTo">
              <EMPTY />
            </FIELD>
          </FIELDS>
        </STATE>
      </STATES>
      <TRANSITIONS>
        <TRANSITION from="" to="Proposed">
          <REASONS>
            <DEFAULTREASON value="New" />
          </REASONS>
          <FIELDS>
            <FIELD refname="System.AssignedTo">
              <DEFAULT from="currentuser" />
            </FIELD>
          </FIELDS>
        </TRANSITION>
        <TRANSITION from="Proposed" to="Active">
          <REASONS>
            <REASON value="Investigate" />
            <DEFAULTREASON value="Accepted" />
          </REASONS>
          <FIELDS>
            <FIELD refname="Microsoft.VSTS.Common.ActivatedDate">
              <SERVERDEFAULT from="clock" />
            </FIELD>
            <FIELD refname="Microsoft.VSTS.Common.ActivatedBy">
              <COPY from="currentuser" />
              <VALIDUSER />
            </FIELD>
          </FIELDS>
        </TRANSITION>
        <TRANSITION from="Active" to="Proposed">
          <REASONS>
            <DEFAULTREASON value="Investigation Complete" />
          </REASONS>
        </TRANSITION>
        <TRANSITION from="Active" to="Resolved">
          <REASONS>
            <DEFAULTREASON value="Code Complete and System Tested" />
          </REASONS>
          <FIELDS>
            <FIELD refname="Microsoft.VSTS.Common.ResolvedDate">
              <SERVERDEFAULT from="clock" />
            </FIELD>
            <FIELD refname="Microsoft.VSTS.Common.ResolvedBy">
              <COPY from="currentuser" />
              <VALIDUSER />
            </FIELD>
          </FIELDS>
        </TRANSITION>
        <TRANSITION from="Active" to="Closed">
          <REASONS>
            <REASON value="Out-of-scope" />
            <DEFAULTREASON value="Abandoned" />
          </REASONS>
          <FIELDS>
            <FIELD refname="Microsoft.VSTS.Common.ClosedDate">
              <SERVERDEFAULT from="clock" />
            </FIELD>
            <FIELD refname="Microsoft.VSTS.Common.ClosedBy">
              <COPY from="currentuser" />
              <VALIDUSER />
            </FIELD>
          </FIELDS>
        </TRANSITION>
        <TRANSITION from="Resolved" to="Active">
          <REASONS>
            <DEFAULTREASON value="Validation Test Failed" />
          </REASONS>
          <FIELDS>
            <FIELD refname="Microsoft.VSTS.Common.ActivatedBy">
              <COPY from="currentuser" />
              <VALIDUSER />
            </FIELD>
            <FIELD refname="Microsoft.VSTS.Common.ActivatedDate">
              <SERVERDEFAULT from="clock" />
            </FIELD>
          </FIELDS>
        </TRANSITION>
        <TRANSITION from="Resolved" to="Closed">
          <REASONS>
            <DEFAULTREASON value="Validation Test Passed" />
          </REASONS>
          <FIELDS>
            <FIELD refname="Microsoft.VSTS.Common.ClosedDate">
              <SERVERDEFAULT from="clock" />
            </FIELD>
            <FIELD refname="Microsoft.VSTS.Common.ClosedBy">
              <COPY from="currentuser" />
              <VALIDUSER />
            </FIELD>
          </FIELDS>
        </TRANSITION>
        <TRANSITION from="Proposed" to="Closed">
          <REASONS>
            <DEFAULTREASON value="Rejected" />
          </REASONS>
          <FIELDS>
            <FIELD refname="Microsoft.VSTS.Common.ClosedDate">
              <SERVERDEFAULT from="clock" />
            </FIELD>
            <FIELD refname="Microsoft.VSTS.Common.ClosedBy">
              <COPY from="currentuser" />
              <VALIDUSER />
            </FIELD>
          </FIELDS>
        </TRANSITION>
        <TRANSITION from="Closed" to="Active">
          <REASONS>
            <DEFAULTREASON value="Closed in Error" />
          </REASONS>
          <FIELDS>
            <FIELD refname="Microsoft.VSTS.Common.ActivatedBy">
              <COPY from="currentuser" />
              <VALIDUSER />
            </FIELD>
            <FIELD refname="Microsoft.VSTS.Common.ActivatedDate">
              <SERVERDEFAULT from="clock" />
            </FIELD>
            <FIELD refname="System.AssignedTo">
              <COPY from="field" field="Microsoft.VSTS.Common.ClosedBy" />
            </FIELD>
          </FIELDS>
        </TRANSITION>
      </TRANSITIONS>
    </WORKFLOW>
    <FORM>
      <Layout>
        <Group>
          <Column PercentWidth="100">
            <Control FieldName="System.Title" Type="FieldControl" Label="&amp;Title:" LabelPosition="Left" />
          </Column>
        </Group>
        <Group Label="Classification">
          <Column PercentWidth="100">
            <Control FieldName="System.AreaPath" Type="WorkItemClassificationControl" Label="&amp;Area path:" LabelPosition="Left" />
            <Control FieldName="System.IterationPath" Type="WorkItemClassificationControl" Label="&amp;Iteration path:" LabelPosition="Left" />
          </Column>
        </Group>
        <Group Label="Status">
          <Column PercentWidth="50">
            <Control FieldName="System.AssignedTo" Type="FieldControl" Label="Assi&amp;gned to:" LabelPosition="Left" />
            <Control FieldName="Microsoft.VSTS.Common.Priority" Type="FieldControl" Label="&amp;Priority:" LabelPosition="Left" />
            <Control FieldName="Microsoft.VSTS.Common.Triage" Type="FieldControl" Label="&amp;Triage:" LabelPosition="Left" />
          </Column>
          <Column PercentWidth="50">
            <Control FieldName="Microsoft.VSTS.CMMI.Blocked" Type="FieldControl" Label="&amp;Blocked:" LabelPosition="Left" />
            <Control FieldName="System.State" Type="FieldControl" Label="&amp;State:" LabelPosition="Left" />
            <Control FieldName="System.Reason" Type="FieldControl" Label="&amp;Reason:" LabelPosition="Left" />
          </Column>
        </Group>
        <Group Label="Schedule">
          <Column PercentWidth="100">
            <Control FieldName="Microsoft.VSTS.CMMI.Estimate" Type="FieldControl" Label="&amp;Estimate:" LabelPosition="Left" />
            <Control FieldName="Microsoft.VSTS.Scheduling.RemainingWork" Type="FieldControl" Label="&amp;Remaining work:" LabelPosition="Left" />
            <Control FieldName="Microsoft.VSTS.Scheduling.CompletedWork" Type="FieldControl" Label="&amp;Completed work:" LabelPosition="Left" />
          </Column>
        </Group>
        <TabGroup>
          <Tab Label="Description">
            <Control FieldName="System.Description" Type="HtmlFieldControl" Label="&amp;Description:" LabelPosition="Top" Dock="Fill" />
          </Tab>
          <Tab Label="Justification">
            <Control FieldName="Microsoft.VSTS.CMMI.Justification" Type="HtmlFieldControl" Label="&amp;Justification:" LabelPosition="Top" Dock="Fill" />
          </Tab>
          <Tab Label="Analysis">
            <Control FieldName="Microsoft.VSTS.CMMI.ImpactOnArchitecture" Type="HtmlFieldControl" Label="&amp;Impact on architecture:" LabelPosition="Top" Dock="Fill" />
            <Control FieldName="Microsoft.VSTS.CMMI.ImpactOnUserExperience" Type="HtmlFieldControl" Label="Impact on &amp;user experience:" LabelPosition="Top" Dock="Fill" />
            <Control FieldName="Microsoft.VSTS.CMMI.ImpactOnTest" Type="HtmlFieldControl" Label="Impact on &amp;test:" LabelPosition="Top" Dock="Fill" />
            <Control FieldName="Microsoft.VSTS.CMMI.ImpactOnDevelopment" Type="HtmlFieldControl" Label="Impact on &amp;design/development:" LabelPosition="Top" Dock="Fill" />
            <Control FieldName="Microsoft.VSTS.CMMI.ImpactOnTechnicalPublications" Type="HtmlFieldControl" Label="Impact on technical &amp;publications:" LabelPosition="Top" Dock="Fill" />
          </Tab>
          <Tab Label="History">
            <Control FieldName="System.History" Type="WorkItemLogControl" Label="&amp;History:" LabelPosition="Top" Dock="Fill" />
          </Tab>
          <Tab Label="Links">
            <Control Type="LinksControl" LabelPosition="Top" />
          </Tab>
          <Tab Label="Attachments">
            <Control Type="AttachmentsControl" LabelPosition="Top" />
          </Tab>
          <Tab Label="Details">
            <Group>
              <Column PercentWidth="50">
                <Group Label="Build">
                  <Column PercentWidth="100">
                    <Control FieldName="Microsoft.VSTS.Build.IntegrationBuild" Type="FieldControl" Label="&amp;Integrated in:" LabelPosition="Left" />
                  </Column>
                </Group>
              </Column>
            </Group>
          </Tab>
        </TabGroup>
      </Layout>
    </FORM>
  </WORKITEMTYPE>
</WITD>